package com.work.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 绛河
 * @date 2023/4/25
 * @apiNote
 */
@RestController
@RequestMapping("/test")
public class TestController {
    @GetMapping("/test")
    public String test(String stuNum,String name){
        String data = "hello "+stuNum+" "+name+"，这是你的第一个SpringBoot项目(Maven方式创建)";
        return data;
    }
}
